package vip.kqsy.cloud.blog.server.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import vip.kqsy.cloud.core.datasource.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 博客交互表
 * </p>
 *
 * @author cenjunjie
 * @since 2023-05-03
 */
@Getter
@Setter
@TableName("blog_interactive")
public class BlogInteractive extends BaseEntity {

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 类型，1：浏览，2：收藏，3：点赞
     */
    private Integer type;

    /**
     * 博客ID
     */
    private Long blogId;
}
